package main

import "net/http"

func main() {

	/*
		服务器端建立
	*/

	http.HandleFunc("/myGo", myHandleFunc)

	http.ListenAndServe(":8021", nil)

}

func myHandleFunc(w http.ResponseWriter, r *http.Request) {
	w.Write([]byte("hello myGo!"))
}
